package ElementPackage;

import java.io.PrintWriter;

public class Hyperplane {
	private Vector gradiant ;
	private double bias ;
	public Hyperplane()	{
		
	}
	public void setGradiant(Vector gradiant) {
		this.gradiant = gradiant;
	}
	public Vector getGradiant() {
		return gradiant;
	}
	public void setBias(double bias) {
		this.bias = bias;
	}
	public double getBias() {
		return bias;
	}
	public void print(PrintWriter print_writer)	{
		print_writer.println("Gradiant");
		for (int i=0;i< ConstForSVM.getVectorSize() ; i++)	{
			print_writer.println(getGradiant().getParameter(i));
		}
		print_writer.println("Bias");
		print_writer.println(getBias());
	}
}
